package com.zh.eventdispatcher;

import android.os.Bundle;

import com.zh.eventdispatch.activity.ActivityEventOwner;
import com.zh.eventdispatch.activity.EventDispatcherActivity;

public class MainActivity extends EventDispatcherActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        getSupportFragmentManager().beginTransaction()
                .replace(R.id.container,
                        LiveFragment.newInstance(),
                        LiveFragment.class.getSimpleName()
                )
                .commit();
    }
}